Skip to content

Improve systemd ordering for cloud-init-local to preserve /var mount#70

Open
jasonrayne wants to merge 1 commit intostackhpc:jammy-cloud-init-fixupfrom
jasonrayne:jammy-cloud-init-fixup
Open

Improve systemd ordering for cloud-init-local to preserve /var mount#70
jasonrayne wants to merge 1 commit intostackhpc:jammy-cloud-init-fixupfrom
jasonrayne:jammy-cloud-init-fixup

Conversation

@jasonrayne
Copy link

This PR updates the initial systemd override to explicitly ensure the full /var mount is present before cloud-init-local.service starts.

When enrolling bare-metal overcloud nodes with Kayobe, I encountered an ordering issue that was seemingly caused by an insufficient dependency declaration.
This resulted in /var (and critical data such as authorized_keys) being overwritten during provisioning.
This commit updates the systemd override to explicitly ensure the full /var mount is present before cloud-init-local.service starts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant